import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import User from '@/components/User'
import Room from '@/components/Room'
import RoomType from '@/components/RoomType'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path:'/User',
      name: 'User',
      component: User
    },
    {
      path:'/Room',
      name: 'Room',
      component: Room
    },
    {
      path:'/RoomType',
      name: 'RoomType',
      component: RoomType
    }

  ]
})
